<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css"/>
<section id="main-content">
    <section class="wrapper">
        <!--state overview end-->
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading">
                        对公支付
                    </header>

                    <div class="panel-body">
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">费用申请编号</label>
                            <div class="col-sm-10">
                                <input type="text" disabled value="" class="form-control" ng-model="expenditureEntity.costCode"
                                       certus-required>
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">项目名称</label>
                            <div class="col-sm-10">
                                <input type="text" value="" disabled placeholder="自动检索，查询结果较多时候，系统不显示，需要尽量多输入相关字段" class="form-control"
                                       ng-model="expenditureEntity.projName" certus-required list="browsersProj">
                            </div>
                            <datalist id="browsersProj" ng-model="selected">
                                <option ng-repeat="x in dataList.projNameSelect" value="{{x.projName}}">
                            </datalist>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">付款方式</label>
                            <div class="col-sm-10">
                                <select class="form-control" disabled certus-required ng-model="expenditureEntity.paymentMethod" ng-change="costTypeChange(expenditureEntity.paymentMethod)">
                                    <option value="{{xx.code}}" ng-repeat="xx in dataList.costTypeSelect">{{xx.name}}
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">费用分类</label>
                            <div class="col-sm-10">
                                <select class="form-control" disabled certus-required
                                        ng-model="expenditureEntity.expenseClassfication" ng-change="costChange(expenditureEntity.expenseClassfication)">
                                    <option ng-repeat="ss in dataList.costSelect" value="{{ss.code}}">{{ss.name}}
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">客户/供应商</label>
                            <div class="col-sm-10">
                                <input type="text" value="" disabled class="form-control" certus-required
                                       certus-an-limit-length="30" ng-model="expenditureEntity.customName">
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">付款账户</label>
                            <div class="col-sm-10">
                                <input type="text" value="" disabled class="form-control" certus-required
                                       certus-an-limit-length-num="20" ng-model="expenditureEntity.paymentAccount">
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">付款银行</label>
                            <div class="col-sm-10">
                                <input type="text" value="" disabled class="form-control" certus-required
                                       certus-an-limit-length="30" ng-model="expenditureEntity.paymentBank">
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">付款金额</label>
                            <div class="col-sm-10">
                                <div class="input-group">
                                    <span class="input-group-addon">￥</span>
                                    <input type="text" disabled class="form-control" certus-an-limit-length-num="15"
                                           certus-required ng-model="expenditureEntity.paymentAmount">
                                    <span class="input-group-addon">元</span>
                                </div>
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">支付内容/备注说明</label>
                            <div class="col-sm-10">
                                <textarea class="form-control" disabled placeholder="字符长度限制(120字以内)"
                                          certus-required certus-an-limit-length="120"
                                          ng-model="expenditureEntity.payContent"></textarea>
                            </div>
                        </div>
                    </div>
                </section>

                <section class="panel">
                        <div class="panel-body">
                            <p class="default-buttons">
                                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
                                <a href="javascript:void(0);" class="button-next  btn btn-info" onclick="window.history.back()">确认</a>
                            </p>
                        </div>
                    </section>

            </div>
        </div>
    </section>
</section>
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script type="text/javascript">
    // 开始日期
    // $('#sftime').datepicker({
    //   format: 'yyyy-mm-dd'
    // });
</script>
<script src="js/workflow/XJDKLC/xjdklcProj.js"></script>
<div  ng-include="'templates/workflow/scheduled/processs.html'"></div>